<%--
  Created by IntelliJ IDEA.
  User: 86152
  Date: 2022/11/8
  Time: 10:49
  展示搜索结果，和category的界面框架一致，只是这里是product的list
--%>

<%@ include file="../common/top.jsp" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<div id="Catalog">

    <table>
        <tr>
            <th><b>商品门类编号</b></th>
            <th><b>品名</b></th>
        </tr>
        <c:forEach var="product" items="${sessionScope.productsBySearch}">
            <tr>

                <td><b><a href="viewProduct?productId=${product.productId}">${product.productId}</a></b></td>
                <td><b><a href="viewProduct?productId=${product.productId}">${product.name}</a></b></td>

            </tr>
        </c:forEach>


    </table>

</div>

<br>
<br>
<div>  <b>你也许会喜欢:</b></div>
<%@ include file="../common/recommend.jsp" %>
